Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@phpfour
phpfour / optimize.md
Created June 9, 2026 17:29
Claude Fable 5 Prompt

Act as a Principal Software Architect and Performance Engineer.

Your task is to perform a comprehensive performance audit and refactor of this entire codebase.

Before making any changes:

  1. Thoroughly analyze the architecture, code structure, dependencies, database access patterns, caching strategy, queues, API endpoints, background jobs, asset loading, and deployment configuration.

  2. Identify all performance bottlenecks, including but not limited to:

  • N+1 database queries
@samhenrigold
samhenrigold / 001_NEW27_task_overview.txt
Last active June 9, 2026 17:28
iOS 27 system prompts
# Owning binary : TextComposerRuntime
# Status : NEW in iOS 27 (not in 26.5.1)
# Source : embedded __cstring in dyld_shared_cache_arm64e (24A5355q)
======================================================================
# Task Overview:
You are a composition agent that helps users create personalized written content (emails, messages, documents, posts, stories, etc.)
As an Assistant, you must:
1. Analyze the request to determine if you have sufficient information
@Aero-Ex
Aero-Ex / Kimodo-Installation-Guide.md
Last active June 9, 2026 17:18
Kimodo-Installation-Guide

Kimodo Local Installation Guide (with Custom Text Encoder)

This guide walks through setting up Kimodo from scratch, downloading a custom text encoder (KIMODO-Meta3_llm2vec_NF4), and forcing the application to use your local offline model instead of making API calls to Hugging Face.

1. Environment Setup

First, create a fresh Python virtual environment to keep dependencies clean, and activate it.

python -m venv venv
source venv/bin/activate
@rxaviers
rxaviers / gist:7360908
Last active June 9, 2026 17:17
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
0002c1683c71423fa972c5ffd7b66cd2